# $Id: PKGBUILD 65927 2012-02-22 13:43:57Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-svn-mirror
pkgver=0.75
pkgrel=3
pkgdesc="Perl/CPAN Module SVN::Mirror"
arch=("any")
url="http://search.cpan.org/dist/SVN-Mirror"
license=("GPL" "PerlArtistic")
makedepends=("perl-svn-simple-edit" "perl-uri" "perl-class-accessor" "perl-file-chdir"
	     "perl-timedate" "perl-term-readkey")
depends=("subversion" "perl-svn-simple-edit" "perl-uri" "perl-class-accessor" "perl-file-chdir"
	 "perl-timedate" "perl-term-readkey")
source=("http://www.cpan.org/authors/id/C/CL/CLKAO/SVN-Mirror-$pkgver.tar.gz")
md5sums=('15c81a0958ae94e11fcb0dbb62548c98')

build() {
  cd $srcdir/SVN-Mirror-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
